package com.chance.cc.crawler.prod.command.schedule.vm.xcar;

import com.chance.cc.crawler.core.CrawlerJob;
import com.chance.cc.crawler.prod.command.job.domain.vm.xcar.adhoc.XcarSimpleRedisToRunCrawlerScheduleJob;
import com.chance.cc.crawler.prod.command.schedule.CommonCrawlerJobSchedule;

/**
 * @author lt
 * @version 1.0
 * @date 2020-12-09 16:15:28
 * @email okprog@sina.com
 */
public class XCarCommonCrawlerJobSchedule extends CommonCrawlerJobSchedule {


    public static void main(String[] args) {
       // autoHomeCommonCrawlerScheduleJob(XcarForumRealTimeCrawlerScheduleJob.xcarCwalerJob());
//        autoHomeCommonCrawlerScheduleJob(XcarNewsRealTimeCrawlerScheduleJob.xcarCwalerJob());
//        autoHomeCommonCrawlerScheduleJob(XcarSeriesPublicPraiseRealtimeCrawlerScheduleJob.xcarCwalerJob());
//        autoHomeCommonCrawlerScheduleJob(XcarForumReplyTraceCrawlerScheduleJob.xcarCwalerJob());
//        autoHomeCommonCrawlerScheduleJob(XcarForumTopicTraceCrawlerScheduleJob.xcarCwalerJob());
//        autoHomeCommonCrawlerScheduleJob(XcarNewsTraceCrawlerScheduleJob.xcarCwalerJob());
//
        /**
         * 补采
         */
//        autoHomeCommonCrawlerScheduleJob(XcarForumReplyTraceSupplementCrawlerScheduleJob.xcarCwalerJob());
//        autoHomeCommonCrawlerScheduleJob(XcarForumReleaseSimpleCrawlerSchedulerJob.xcarCwalerJob());
//        autoHomeCommonCrawlerScheduleJob(XCarPriseSimpleCrawlerSchedulerJob.xcarCwalerJob());


        //吉利项目
       // autoHomeCommonCrawlerScheduleJob(XcarForumTopicJeelyTraceCrawlerScheduleJob.xcarCwalerJob());
        autoHomeCommonCrawlerScheduleJob(XcarSimpleRedisToRunCrawlerScheduleJob.xcarScheduleCarHomeArticle());
       // autoHomeCommonCrawlerScheduleJob(XcarForumReleaseSimpleCrawlerSchedulerJob.xcarCwalerJob());
    }

    public static void autoHomeCommonCrawlerScheduleJob(CrawlerJob crawlerJob){
        crawlerJobScheduleCommand_17.republishCrawlerJob(crawlerJob.generateCrawlerTriggerKey(),device_name_1);
    }
    public static void autohomeDelete(CrawlerJob crawlerJob){
        crawlerJobScheduleCommand_17.deleteCrawlerJob(crawlerJob.generateCrawlerTriggerKey(),device_name_1);
    }

}
